package cn.sun.dictionary.mapper;

import cn.sun.basic.mapper.BaseMapper;
import cn.sun.dictionary.domain.DictionaryDetail;
import cn.sun.dictionary.query.DictionaryDetailQuery;

import java.util.List;

public interface DictionaryDetailMapper extends BaseMapper<DictionaryDetail, DictionaryDetailQuery> {
/*
    *//**
     * 添加部门
     * @param t
     *//*
    void save(DictionaryDetail t);

    *//**
     * 修改部门信息
     * @param t
     *//*
    void update(DictionaryDetail t);

    *//**
     * 删除部门
     * @param id
     *//*
    void delete(Long id );

    *//**
     * 查询数据总条数
     * @return
     *//*
    Integer findNum(DictionaryDetailQuery t2);

    *//**
     * 查询所有部门信息
     * @return
     *//*
    List<DictionaryDetail> findAll();

    *//**
     * 根据ID查询部门
     * @param id
     * @return
     *//*
    DictionaryDetail findById(Long id);


    *//**
     * 高级和分页查询
     * @param t2
     * @return
     *//*
    List<DictionaryDetail> findPage(DictionaryDetailQuery t2);*/

    void batchdel(List<Long> ids);

    List<DictionaryDetail> findByType(Long id);

    Integer findCountByType(Long id);
}
